<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Session;
use \think\Db;
class Formmoment extends Common
{
	



  public function delete(){
    $res = Db::name('moment')->where('moment_id',input('momentid'))->update(['moment_status'=>input('statu')]);
    if($res===false){
        $this->error("处理失败");
    }
    $this->redirect('moment/index');
  }

}